/**
 * DEMO Plugin for Timemachine
 * 
 * shows the google gears status in the topbar
 * 
 * @author flobo <bosselmann@gmail.com>
 * 
 */
var plugin_gearscheck = {
	_init: function() {
		if(($defined(window.google) && $defined(google.gears))) {
			$('projecttitle').innerHTML += ' on gears';
			
			//var localServer = google.gears.factory.create('beta.localserver');
			//var store = localServer.createManagedStore('timemachine');
			//store.manifestUrl = 'gears_localserver_manifest.txt';
			//store.checkForUpdate();
			
			//alert(store.updateStatus);
		}
	}
};
